#!/usr/bin/env python
#coding:utf-8

import sys
from PyQt4 import QtGui

class MainWindow(QtGui.QMainWindow):
    def __init__(self):
        QtGui.QMainWindow.__init__(self)
        
        self.resize(640, 480)
        self.setWindowTitle('statusbar')
        self.statusBar().showMessage('Ready')
    

app = QtGui.QApplication(sys.argv)
main = MainWindow()
main.show()
sys.exit(app.exec_())
